package com.lancoo.ccas53.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 校区及设置
 * </p>
 *
 * @author quin.song
 * @since 2024-05-20
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "Campus对象", description = "校区及设置")
@EqualsAndHashCode(of = {"taskId", "campusName"})
public class Campus implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("校区id")
    @TableId(value = "campus_id", type = IdType.AUTO)
    private Integer campusId;

    private Integer taskId;

    @ApiModelProperty("校区名")
    private String campusName;

    @ApiModelProperty("1、统一设置 2、按天设置 3、按年级设置")
    private Integer periodMode;
}
